Arguments
gen
Numeric matrix containing the genotypic data. A matrix with $n$
rows of observations and ($m$) columns of molecular markers. SNPs must be coded as 0, 1, 2
, for founder homozigous, heterozigous and reference homozigous. NA
is allowed.
psy
Tolerance parameter for markers in Perfect SYymmetry (psy). This QC remove identical markers (aka. full LD) that carry the same information. Default is 1, which removes only SNPs 100% equal to its following neighbor.
MAF
Minor Allele Frequency. Default is 0.05. Useful to inform or remove markers below the MAF threshold. Markers with standard deviation below the MAF threshold will be also removed.
misThr
Missing value threshold. Default is 0.8, removing markers with more than 80 percent missing values.
remove
Logical. Remove SNPs due to PSY or MAF.
impute
If TRUE, impute missing values using Random Forest adapted from the package missForest (Stekhoven and Buhlmann 2012) as suggested by Rutkoski et al (2013).